@import 'src/res/theme/xxhz';



.businessListing-page {
  padding-bottom: 1px;

  .site-tabs {
    .at-tabs__item-underline, .at-tabs__underline {
      background-color: $mainColor;
    }

    .at-tabs__item {
      color: #aaa;
    }

    .at-tabs__item--active {
      color: #000;
      font-weight: bold;
    }
  }

  .listNull {
    width: 100%;
    height: 75vw;
    text-align: center;
    overflow: hidden;

    image, .taro-img {
      width: 295px;
      height: 295px;
      margin: 86px auto 35px;
    }

    .text, .taro-text {
      font-size: 24px;
      color: #666
    }
  }

  .subNav {
    background-color: #fff;
    flex-grow: 1;
    padding: 35px 20px;

    .nav-box {
      display: flex;
      min-width: 100%;
      font-size: 28px;
      text-align: center;

      .nav-item {
        position: relative;
        color: #666;
        margin-right: 50px;
        font-weight: bold;
        flex-shrink: 0;
      }

      .active {
        color: #333;
      }

      .active-line {
        border-radius: 12px;
        height: 3Px;
        background-color: $mainColor;
        width: 100%;
      }
    }
  }

  .businessListing-subNav {
    position: sticky;
    top: 0;
    left: 0;
    padding: 20px 0 !important;
    border-bottom: 1px solid #eee;
  }

  .businessListing-nav-box {
    justify-content: space-around;

    .businessListing-nav-item {
      margin-right: 0 !important;
    }
  }

  .businessListing-content {
    margin-bottom: 120px;
    .businessListing-item {
      margin: 20px;
      border-radius: 8px;
      background-color: #fff;
      border-bottom: solid 1Px #efefef;
      padding: 30px 0;

      .order-num {
        font-size: 28px;
        color: #999;
        margin: 0 30px 15px;
      }

      .line {
        height: 1Px;
        background-color: #eee;
        margin: 20px 30px;
      }

      .status {
        font-size: 20px;
        border-radius: 6px;
        padding: 6px 0;
        margin-right: 10px;
        color: white;
      }

      .bd-lk-id {
        margin: 10px 0;
        font-size: 26px;
        color: #999;
      }
    }

    .item:last-child {
      border-bottom: none;
    }

    .title-box {
      height: inherit;
      box-sizing: border-box;
      padding: 0 30px;
      display: inherit;

      .detail-view {
        display: flex;
        justify-content: flex-end;
        margin-top: 26px;

        .detail-btn {
          font-size: 24px;
          padding: 10px 15px;
          border: 1Px solid #ccc;
          width: 100px;
          text-align: center;
          border-radius: 26px;
          margin-left: 10px;
        }
      }

      .line {
        height: 1Px;
        background-color: #eee;
        margin: 23px 0;
      }

      .title {
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        font-size: 30px;
      }

      .title-box-status {
        text-align: right;
        font-size: 28px;

        .yellowColor {
          color: #ffa000;
        }

        .successColor {
          color: #1ab394;
        }

        .errorColor {
          color: #ed5565;
        }
      }
    }

    .status {
      width: 14%;
      text-align: center;
      flex-shrink: 0;
    }
  }
}

.business-info, .product-info, .product-info-weapp {
  background-color: #fff;
  width: 100%;
  overflow: hidden;

  .at-input {
    padding-left: 20px;
    margin-left: 0;
  }

  .foot-btn {
    position: fixed;
    display: flex;
    bottom: 0;
    padding-bottom: calc(env(safe-area-inset-bottom) / 3);
    left: 0;
    width: 100%;
    z-index: 999;

    .h5-small {
      font-size: 28px;
    }

    .btn {
      padding: 0 30px;
      margin: 30px auto;
      text-align: center;
      line-height: 75px;
      height: 75px;
      background-color: #fff;
      border: 1px solid $mainColor;
      color: $mainColor;
      width: 50%;
      border-radius: 100px;
    }

    .active {
      color: #fff;
      background-color: $mainColor;
    }
  }
  .product-foot-btn {
    background-color: #fff;
    box-shadow: 0 0 15px #c1c1c1;
  }

  .line-bg {
    background-color: $color-default-background;
    height: 20px;
  }
}

.product-info {
  .group-info-name::after,
  .group-info-count::after,
  .group-info-price::after,
  .group-title-group-name::after {
    border-bottom: none;
    width: 0 !important;
  }
  .proportion-after, .proportion-after-date {
    position: relative;
  }

  .use-time {
    font-size: 26px;
    color: #b6b7b8;
  }

  ._check {
    display: inline-block;
    width: 20%;
  }

  .nowrap {
    white-space: pre-wrap;
    padding-right: 0;
  }

  .use-time-wrapper{
    display: flex;
    justify-content: space-between;
  }

  .weekdays{
    line-height: 2;
  }

  .use-time-wrapper,.weight-title,.weekdays{
    padding: 20px 24px;
  }

  .weekdays,.use-time-segmentation,.weight-title{
    font-size: 26px;
  }

  .weight-title {
    font-weight: bold;
  }

  .proportion-after-date::before {
    position: absolute;
    right: 20px !important;
    top: 50% !important;
    transform: translate(0, -50%);
    content: '天购买当日默认可用';
    font-size: 28px;
  }
  .limit-buy-amount::before {
    right: 40px !important;
    content: '张';
  }
  .appointment_time::before {
    right: 40px !important;
    content: '电话预约';
  }

  .proportion-after::before {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0, -50%);
    content: '%';
    font-size: 28px;
  }

  .product-form {

    &-block {
      background-color: #fff;
      padding: 0 20px;

      &-item {
        display: flex;
        position: relative;
        padding: 30px 24px;

        &-left {
          margin-right: 16px;
          width: 172px;
          text-align: left;
          font-size: 26px;
        }

        &-right {
          width: calc(100% - 172px - 16px);
          font-size: 26px;
        }
      }
    }
  }

  .mepty {
    color: #b6b7b8;
  }

  .mepty, .value {
    display: inline-block;
  }

  .ret {
    font-size: 30px;
    transform: scaleY(1.6);
    display: inline-block;
    position: relative;
    left: 10px;
    color: #b6b7b8;
    float: right;
  }

  .at-input, .at-list__item {
    padding-left: 24px;
  }

  .at-input__title, .item-content__info-title, .product-images-title, .at-input input {
    font-size: 28px;
  }

  .at-list::after {
    border-top-width: inherit;
  }

  .at-input::after, .at-list::after {
    border-bottom: solid 1Px #f2f2f2 !important;
    width: 100%;
    left: 0;
    top: inherit;
    bottom: 0;
    right: inherit;
    transform: inherit;

  }

  .product-images::after, .border-bottom::after {
    content: '';
    position: absolute;
    transform-origin: center;
    pointer-events: none;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: solid 1px #f2f2f2;
  }

  .border-bottom {
    position: relative;
  }

  .product-images {
    padding: 20px 30px 24px 24px;
    position: relative;

    ._image-border {
      width: 180px;
      height: 180px;
      border: solid 1px #dbdbdb;
      margin-right: 10px;
      position: relative;
      top: 6px;
      display: inline-block;
      border-radius: 10px;

      ._image {
        width: 180px;
        height: 180px;
      }

      ._close {
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, .5);
        color: #fff;
        position: absolute;
        right: 15px;
        top: 15px;
        z-index: 1;
        text-align: center;
        line-height: 40px;
        border-radius: 30px;

        ._font {
          transform: scale(.8, .6);
          display: inline-block;
          position: relative;
          top: -4px;
        }
      }
    }

    .image-border {
      width: 180px;
      height: 180px;
      border: dashed 1px #dbdbdb;
      border-radius: 10px;
      margin-top: 10px;
      position: relative;
      top: 8px;
      display: inline-block;

      .add {
        font-size: 72px;
        font-weight: bold;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: #aaa;
      }
    }
  }

  .label-right {
    .at-input__container {
      position: relative;

      .at-input__title {
        position: absolute;
        right: 0;
        text-align: right;
      }
    }
  }
}

.addInfo {
  width: 100%;
  height: 98px;
  line-height: 98px;
  text-align: center;
  color: #fff;
  padding-bottom: calc(env(safe-area-inset-bottom) / 3);
  position: fixed;
  bottom: 0;
  left: 0;
}

.h5-small {
  font-size: 28px;
}

.product-images-sub-title {
  font-size: 28px;
  color: #bbb;
  margin-left: 50px;
}

.goods-info-div {
  position: relative;
  .goods-info-content {

  }
  .goods-info-icon {
    font-size: 40px;
    color: #0bbe7f;
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 900;
  }
}
.item-right {
  text-align: right;
  input {
    padding-right: 60px;
  }
}
.product-info .use-rule ._check {
  width: 25% !important;
}
.product-info .use-rule ._check:first-child {
  width: 45% !important;
}
.appointment-unit {
  position: relative;
  .appointment-unit-pick {
    position: absolute;
    width: 44%;
    top: 0px;
    right: 30px;
  }
}
.border-bottom .title {
  width: 100% !important;
}
.at-textarea {
  border: none;
}
.item {
  position: relative;
}
.require::before {
  content: '*';
  color: #f00;
  font-size: 28px;
  display: inline-block;
  position: absolute;
  top: 30px;
  left: 4px;
}
.rate {
  position: relative;
  .rate-modal {
    position: absolute;
    top: 28px;
    left: 215px;
    font-size: 26px;
    color: #0bbe7f;
    z-index: 900;
  }
}
.proportion-after.item-right.rate-money-input {
  height: 80px !important;
}
.proportion-after.item-right.rate-money-input::before {
  top: 35%;
}
.product-info .rate-top .at-input input {
  margin-top: -40px !important;
}
.rate-money {
  position: absolute;
  font-size: 0.55467rem;
  text-align: right;
  padding: 0.42667rem;
  top: 45%;
  right: 0;
  color: #0bbe7f;
}
.douyin-rate {
  .at-modal__header {
    text-align: left;
    padding: 35px 57px 25px 50px;
    display: flex;
    justify-content: space-between;
    .douyin-rate-close {
      margin-top: 4px;
    }
  }
  .douyin-rate-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding:0 60px 0 25px;
  }
  .douyin-rate-item-result {
    color: #cd6c3f;
  }
}
.appointment-unit-weapp {
  position: relative;
  .appointment-unit-pick {
    position: absolute;
    width: 20%;
    top: 10px;
    right: 190px;
    z-index: 900;
  }
}
.placeholderClass {
  font-size: 30px;
  line-height: 1.5;
}
.at-textarea__textarea::placeholder {
  font-size: 28px;
  line-height: 1.5;
}

.regional-category-business {

  .regional-category-nav-business {
    display: flex;
    padding: 0 10px;
    justify-content: space-between;

    .regional-category-nav-item-business {
      align-items: center;
      justify-content: center;
      display: flex;
      flex: auto !important;
      flex-direction: column;
      position: relative;
      color: #666;
      font-weight: bold;
      -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
      flex-shrink: 0;
      margin: 0 auto !important;
      text-align: center !important;

      .active-line-business {
        border-radius: 0.256rem;
        height: 3Px;
        background-color: #ffa000;
        width: 100%;
        position: absolute;
        top: 44px;
        text-align: center;
      }

      .regional-category-nav-item-name-business {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #333;
        font-size: 30px;
        text-align: center !important;
        display: block;
        padding: 0 20px;
        width: auto !important;
      }

      .active-business {
        font-weight: bold;
      }
    }
  }

  .scroll-view-business {
    margin-top: 0 !important;
    max-height: 850px;
    overflow-x: auto;
    position: sticky;
    top: 0;
    left: 0;
    padding: 0.42667rem 0 !important;
    border-bottom: 0.02133rem solid #eee;
    background-color: #fff;
    z-index: 900;
    height: 50px;
  }
}
.regional-category-business .regional-category-nav-business .regional-category-nav-item-business .regional-category-nav-item-name-business:last-child {
  margin-right: 15px;
}
.group-title-top {
  display: flex;
  justify-content: space-between;
  .group-title-top-add {
    color: #0bbe94;
    font-weight: normal;
  }
}
.group-title {
  display: flex;
  justify-content: space-between;
  .group-title-group-name {
    width: 50%;
  }
  .group-title-option-count {
    width: 50%;
    text-align: right;
    .product-form-block-item  {
      width: 100%;
      .product-form-block-item-right {
        width: 85%;
      }
    }
  }
}
.group-info-desc,
.goods-info-del{
  padding: 20px 24px;
  margin-right: 16px;
  text-align: left;
  font-size: 26px;
  display: flex;
}
.goods-info-del {
  color: red;
}
.group-info {
  display: flex;
  .group-info-name {
    width: calc(40% - 24px);
  }
  .group-info-count,
  .group-info-price {
    width: 20%;
    padding-left: 0 !important;
  }
}
.at-input--disabled {
   opacity: 1;
}
.product-info-weapp {
  .product-form-block-item {
    padding: 0px 30px !important;
  }
  .at-input__container {
    padding-left: 0 !important;
  }
  .product-form-block-item-right {
    width: 70% !important;
  }
  .product-form-block-item-left {
    flex: 0 0 168px;
  }
  .group-title {
    .group-title-group-name {
      width: 100% !important;
    }
  }
  .group-info {
    .group-title-group-name {
      width: 100% !important;
    }
    .group-info-count,
    .group-info-price {
      width: 100% !important;
    }
    .group-info-name {
      width: 90% !important;
    }
  }
}
.border-bottom-weapp::after {
  content: '';
  position: absolute;
  transform-origin: center;
  pointer-events: none;
  left: 0;
  bottom: -6px !important;
  width: 100%;
  border-bottom: solid 1px #f2f2f2;
}
